﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DefectuositeMineure.aspx.cs" Inherits="InspectionVehicule.Pages.DefectuositeMineure" Async="true" %>
<%@ Register Assembly="InspectionVehicule, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
    Namespace="InspectionVehicule.Controls" TagPrefix="cc1" %>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Inspection - Défectuosités mineures</title>
    <link href="../Css/Styles.css" rel="Stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="Center">
    
        <cc1:MultipleEditGridView ID="grdDefectuosites" runat="server" AutoGenerateColumns="False" 
            BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" 
            CellPadding="4" ForeColor="Black" GridLines="Vertical" Width="800px" 
            DisplayMode="0" HorizontalAlign="Center">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:TemplateField HeaderText="Code">
                    <EditItemTemplate>
                        <asp:TextBox ID="txtCodeLocalisation" runat="server" style="width:95%;" Text='<%# Bind("CodeLocalisation") %>'>
                        </asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label4" runat="server" Text='<%# Bind("CodeLocalisation") %>' style="width:95%;"></asp:Label>
                    </ItemTemplate>
                    <ItemStyle Width="8%" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Localisation">
                    <EditItemTemplate>
                        <asp:TextBox ID="txtDescLocalisation" runat="server" Text='<%# Bind("DescriptionLocalisation") %>' style="width:95%;" ReadOnly="true"></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label1" runat="server" Text='<%# Bind("DescriptionLocalisation") %>' style="width:95%;"></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle HorizontalAlign="Left" />
                    <ItemStyle Width="25%" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Code">
                    <EditItemTemplate>
                        <asp:TextBox ID="txtCodeComposant" runat="server" Text='<%# Bind("CodeComposant") %>' style="width:95%;"></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label5" runat="server" Text='<%# Bind("CodeComposant") %>' style="width:95%;"></asp:Label>
                    </ItemTemplate>
                    <ItemStyle Width="8%" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Composant">
                    <EditItemTemplate>
                        <asp:TextBox ID="txtDescComposant" runat="server" Text='<%# Bind("DescriptionComposant") %>' style="width:95%;" ReadOnly="true"></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label2" runat="server" Text='<%# Bind("DescriptionComposant") %>' style="width:95%;"></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle HorizontalAlign="Left" />
                    <ItemStyle Width="25%" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Code">
                    <EditItemTemplate>
                        <asp:TextBox ID="txtCodeDefectuosite" runat="server" 
                            Text='<%# Bind("CodeDefectuosite") %>' style="width:95%;"></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label6" runat="server" Text='<%# Bind("CodeDefectuosite") %>' style="width:95%;"></asp:Label>
                    </ItemTemplate>
                    <ItemStyle Width="8%" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Défectuosité">
                    <EditItemTemplate>
                        <asp:TextBox ID="txtDescDefectuosite" runat="server" Text='<%# Bind("DescriptionDefectuosite") %>' style="width:95%;" ReadOnly="true"></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label3" runat="server" Text='<%# Bind("DescriptionDefectuosite") %>' style="width:95%;"></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle HorizontalAlign="Left" />
                    <ItemStyle Width="25%" />
                </asp:TemplateField>
            </Columns>
            
            <FooterStyle BackColor="#CCCC99" />
            <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
            <RowStyle BackColor="#F7F7DE" />
            <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
            
        </cc1:MultipleEditGridView>
    
        <asp:Button ID="btnUpdateDescription" runat="server" Text="Description" 
            onclick="btnUpdateDescription_Click" />
        
        <br />
    
        <asp:Button ID="btnPrevious" runat="server" CommandName="Previous" Text="Précédent" />
        <asp:Button ID="btnNext" runat="server" CommandName="Next" Text="Suivant" />
    </div>
    </form>
</body>
</html>
